package com.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.pojo.Notice;
import com.demo.pojo.ResultVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface NoticeService extends IService<Notice> {
    ResultVO<List<Notice>> getNoticeList(Integer readStatus);
    Notice getNoticeDetail(Long id);
    void addNotice(Notice notice);
    void markAsRead(@RequestBody Notice notice);
}